import ProvinceDaily from '@/components/data/region/daily/RegionProvinceDataAnalysis'
import ProvinceMonth from '@/components/data/region/Month/RegionProvinceDataAnalysis'
import CityDaily from '@/components/data/region/daily/RegionCityDataAnalysis'
import CityMonth from '@/components/data/region/month/RegionCityDataAnalysis'

const routers = [
  {path: 'region-province-daily', component: ProvinceDaily},
  {path: 'region-province-month', component: ProvinceMonth},
  {path: 'region-city-daily', component: CityDaily},
  {path: 'region-city-month', component: CityMonth}
]

const menu = {
  title: '区域报表',
  icon: 'map',
  flag: false,
  sons: [
    {
      title: '省份日报',
      icon: 'map-marker',
      path: '/data/region-province-daily',
      perm: 'analysisRegionData:daily',
      flag: false
    },
    {
      title: '省份月报',
      icon: 'map-marker',
      path: '/data/region-province-month',
      perm: 'analysisRegionData:month',
      flag: false
    },
    {
      title: '城市日报',
      icon: 'map-marker',
      path: '/data/region-city-daily',
      perm: 'analysisRegionDataCity:daily',
      flag: false
    },
    {
      title: '城市月报',
      icon: 'map-marker',
      path: '/data/region-city-month',
      perm: 'analysisRegionDataCity:month',
      flag: false
    }
  ]
}

export default {
  routers,
  menu
}
